home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 953 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: io.salford.ac.uk!aber!not-for-mail
  2. From: auj@aber.ac.uk (Alun "Da Penguin" Jones)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What is '?' in C mean....?????
  5. Date: 10 Jan 1996 08:50:17 -0000
  6. Organization: Prifysgol Cymru (University of Wales) Aberystwyth
  7. Message-ID: <4cvuk9$b18@osfa.aber.ac.uk>
  8. References: <4cgsa8$bm2@wumpus.cc.uow.edu.au> <fcusack-0401961115540001@mudskipper.cac.psu.edu> <4ci5bb$8m4@www.gnofn.org>
  9. NNTP-Posting-Host: osfa.aber.ac.uk
  10.  
  11. Further up the screen Christopher L Mayeux (clm01@www.gnofn.org) wrote:
  12. >
  13. >: ? : is C's ternary operator. if the condition is met, perform the
  14. >: operation after the ?; if the condition is not met, perform the operation
  15. >: after the :
  16. >
  17. >What new perversion of C is that ???
  18. >
  19. >I've been programming in standard C for 12 years, and
  20. >never saw THAT in the manuals.
  21. Maybe you should read them!
  22.  
  23. Alun.
  24. -- 
  25. $_='\=*Sxw!jds@j$.jl.dt#Rw%^dcn"K1x(=Bl1nwl!\*1enab^h"F=!J$h%fhcq',
  26. tr&J-ZA-Ij-za-i&A-Za-z&&s&\(&logic&&&s&\*&un&g&s&=&al&g&s&\^&it&g&&
  27. s&%&st&g&&s&\$&ber&g&s&\#&\n&&s&"& of&g,s&([A-Z])& $1&g&&s&\\u&U&&&
  28. s&!&es, &g&s&\\a&A&&s&1&i&g&&print" $_\n";sub liminal{"use perl!";}
  29.